<?php
class SysclassModel extends Model{
   //自动验证设置
   protected $_validate=array(
        array("class_name","require","类别名称必须!"),
   );
}
?>